<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<title>线索详情</title>
	<link rel="stylesheet" type="text/css" href="/qy/css/public.css">
	<link rel="stylesheet" href="/cdn/weui.min.css">
	<link rel="stylesheet" href="/cdn/jquery-weui.min.css">
	<style type="text/css">
		html{
			height: 100%;
			overflow: hidden;
		}
		body{
			height: 100%;
			overflow: hidden;
			background: #fafafa;
			position: relative;
		}
		.portrait_page_container{
			height: calc(100% - 58px);
			overflow-y: auto;
			overflow-x: hidden;
		}
		.portrait_header_container{
			background: #fff;
			padding: 12px 0;
			margin-bottom: 10px;	
		}
		.portrait_header_content{
			background: #f5f8fb;
			margin: 0 12px;
			padding: 12px;
			border-radius: 3px;
		}
		.portrait_headerInfo_container{
			display: flex;
		}
		.portrait_headerInfo_container img{
			width: 35px;
			height: 35px;
			margin-right: 12px;
			border-radius: 50%;
		}
		.portrait_headerInfo_content{
			flex:1;
		}
		.portrait_headerInfoTop_container{
			display: flex;
			align-items: center;
		}
		.portrait_headerInfoTop_container h3{
			font-weight: bold;
			font-size: 14px;
			color: #000;
		}
		.portrait_headerInfoTop_container span{
			font-size: 13px;
			color: #76c465;
			margin-left: 5px;
		}
		.portrait_headerInfoBottom_container{
			display: flex;
			justify-content: space-between;
		}
		.portrait_headerInfoBottom_Sex_container{

		}
		.portrait_headerInfoBottom_Sex_container svg{
			width: 16px;
			height: 16px;
			display: block;
		}
		.portrait_headerInfoBottom_time_container{
			display: flex;
			align-items: center;
		}
		.portrait_headerInfoBottom_time_container svg{
			width: 15px;
			height: 15px;
			display: block;
		}
		.portrait_headerInfoBottom_time_container span{
			font-size: 13px;
			margin-left: 2px;
			color: #78797a;
		}
		.portrait_headerDetail_container{
			padding-top: 10px;
		}
		.portrait_headerDetail_content{
			overflow: hidden;
		}
		.portrait_headerDetail_content li{
			display: flex;
			width: calc(50% - 10px);
			float: left;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			padding-right: 10px;
			padding-bottom: 5px;
		}
		.portrait_headerDetail_content li span{
			font-size: 14px;
			color: #59595a;
			width: 42px;
		}
		.portrait_headerDetailEdit_content b{
			font-size: 14px;
			color: #777;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.portrait_headerDetailEdit_content svg{
			padding-left: 5px;
		}
		.portrait_headerDetailEdit_content{
			display: flex;
			align-items: center;
			overflow: hidden;
		}
		.portrait_headerDetailEdit_contents b{
			font-size: 14px;
			color: #777;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.portrait_headerDetailEdit_contents svg{
			padding-left: 5px;
		}
		.portrait_headerDetailEdit_contents{
			display: flex;
			align-items: center;
			overflow: hidden;
		}
		/*标签*/
		.portrait_LableMain_container{
			background: #fff;
			padding: 7px 15px;
			margin-bottom: 10px;
		}
		.portrait_companyLable_content{
			display: flex;
			align-items: center;
		}
		.portrait_companyLable_content span{
			font-size: 14px;
			color: #626262;
		}
		.portrait_companyLable_content b{
			font-size: 14px;
			color: #686868;
			border: 1px solid #ededed;
			padding: 3px 8px;
			border-radius: 5px;
		}
		.portrait_companyLable_container{
			border-bottom: 1px dashed #d8d8d8;
		}
		.portrait_companyLable_list{
			display: flex;
			align-items: center;
			padding-top: 8px;
		}
		.portrait_companyLable_list span{
			font-size: 14px;
			color: #626262;
		}
		.portrait_companyLable_list ul{
			overflow: hidden;
			flex: 1;
		}
		.portrait_companyLable_list ul li{
			float: left;
			font-size: 14px;
			color: #686868;
			border: 1px solid #ededed;
			padding: 3px 8px;
			border-radius: 5px;
			margin-right: 5px;
		}
		.portrait_peopleLable_container{
			padding-top: 8px;
			padding-bottom: 8px;
		}
		/*动态*/
		.portrait_track_container{
			background: #fff;
			padding-bottom: 20px;
		}
		.portrait_trackNav_container{
			overflow: hidden;
			border-bottom: 1px solid #eee;
			padding: 10px 10px 0px 10px;
		}
		.portrait_trackNav_container li{
			padding: 0 5px 5px 5px;
			float: left;
			font-weight: bold;
			font-size: 14px;
			color: #000;
			border-bottom: 2px solid #fff;
		}
		.portrait_trackNav_active{
			border-bottom: 2px solid #438df7 !important;
			color: #438fd7 !important;
		}
		.portrait_track_content{
			padding: 0 12px;
			position: relative;
		}
		.portrait_trackListDate_container{
			display: flex;
			padding-bottom: 2px;
		}
		.portrait_trackListDate_container p{
			font-size: 16px;
			color: #000;
			font-weight: bold;
			width: 58px;
			overflow: hidden;
			padding-top: 10px;
		}
		.portrait_trackListDate_right_container{
			flex: 1;
			border-left: 1px dashed #d4d4d4;
			padding-left: 12px;
			padding-top: 10px;
		}
		.portrait_trackListTime_container{
			display: flex;
		}
		.portrait_trackListTime_right_container{
			flex: 1;
			border-left: 1px dashed #d4d4d4;
			padding-left: 12px;
		}
		.portrait_trackListTime_container p{
			color: #818181;
			font-size: 14px;
			width: 58px;
			overflow: hidden;
		}
		.portrait_trackListTime_rightTop_container{
			display: flex;
			align-items: center;
			position: relative;
			left: -20px;
		}
		.portrait_trackListTime_rightTop_container span{
			color: #000;
			font-weight: bold;
			font-size: 14px;
			flex: 1;
			padding-left: 2px;
		}
		.portrait_trackListTime_rightTop_container svg{
			
		}
		.portrait_trackListTime_rightbottom_container{
			display: flex;
			align-items: center;
			padding: 10px 5px;
			background: #f9f9f9;
			border-radius: 2px;
			flex-wrap: wrap;
		}
		.portrait_trackListTime_rightbottom_container img{
			width: 20px;
			height: 20px;
			border-radius: 50%;
			padding: 0 3px;
		}
		.portrait_trackListTime_rightbottom_container span{
			font-size: 13px;
			color: #6e7a8e;
			padding: 0 3px;
		}
		.portrait_trackScreen_contaienr{
			position: absolute;
			right: 20px;
			top: 10px;
		}
		.portrait_trackScreen_contaienr input{
			outline: none;
			appearance: none;
			border: 1px solid #ebebeb;
			padding-left: 10px;
			padding-right: 20px;
			border-radius: 5px;
			width: 90px;
			height: 27px;
			line-height: 27px;
			background: #fff;
			color: #888;
		}
		.portrait_trackScreen_contaienr svg{
			position: absolute;
			top: 10px;
			right: 10px;
		}
		/*底部导航*/
		.footer_nav_container{
		  /*position: fixed;
		  bottom: 0;
		  left: 0;
		  right: 0;
		  border-top: 1px solid #ececec;
		  box-shadow: 0px 0px 3px #ececec;
		  background: #fff;
		  z-index: 999999;*/
		  border-top: 1px solid #ececec;
		  box-shadow: 0px 0px 3px #ececec;
		  background: #fff;
		  height: 58px;
		}
		.footer_nav_content{
		  display: flex;
		  align-items: center;
		}
		.footer_nav_container li{
		  flex: 1;
		  padding: 10px 0;
		  list-style: none;
		}
		.footer_nav_container a{
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  flex-direction: column;
		}
		.footer_nav_container li svg{
		  width: 16px;
		  height: 16px;
		  margin-bottom: 3px;
		}
		.footer_nav_container li span{
		  font-size: 12px;
		  color: #5a5a5a;
		}
		/*自定义弹窗 start*/
		.public_dialog_container{
			opacity: 1;
			visibility: visible;
			position: fixed;
			z-index: 9999999;
			top: 0;
			right: 0;
			left: 0;
			bottom: 0;
			background: rgba(0,0,0,.6);
		}
		.public_dialog_content{
			position: absolute;
			background: #fff;
			width: 80%;
			max-width: 300px;
			top: 45%;
			left: 50%;
			-webkit-transform: translate(-50%,-50%);
			transform: translate(-50%,-50%);
			background-color: #fff;
			text-align: center;
			border-radius: 3px;
			overflow: hidden;
		}
		.public_dialog_content h3{
			padding: 1.3em 1.6em .5em;
			font-weight: 400;
			font-size: 18px;
		}
		.public_dialogSelect_container{
			display: flex;
			align-items: center;
			padding: 0 1.6em .8em;
			min-height: 40px;
			font-size: 15px;
			line-height: 1.3;
			word-wrap: break-word;
			word-break: break-all;
			color: #999;
		}
		.public_dialogSelect_content{
			display: flex;
			align-items: center;
			border: 1px solid #D5D5D6;
			flex:1;
			padding: 0 10px;
		}
		.public_dialogSelect_container span{
			font-size: 15px;
			color: #666;
		}
		.public_dialogSelect_content select{
			flex:1;
			outline: none;
			appearance: none;
			border: none;
			background: #fff;
			background: url(http://weidogstest.oss-cn-beijing.aliyuncs.com/66d97c33652eb57968a90b098579ced5.png)no-repeat right center/10px 10px;
			height: 2em;
			color: #999;
		}
		.public_dialogButton_container{
			display: flex;
			align-items: center;
			border-top: 1px solid #D5D5D6;
		}
		.public_dialogButton_container span{
			flex:1;
			cursor: pointer;
			line-height: 48px;
			font-size: 18px;
			display: block;
			text-align: center;
		}
		.public_dialogButton_container span:first-child{
			color: #5f646e;
		}
		.public_dialogButton_container span:last-child{
			color: #3cc51f;
			border-left: 1px solid #D5D5D6;
		}
		/*自定义弹窗 end*/
		/*公共头部返回 start*/
		.public_goBack_container{

		}
		.public_goBack_container{
			padding: 3px 5px;
		}
		.public_goBack_container a{
			display: flex;
			align-items: center;
		}
		.public_goBack_container svg{
			width: 14px;
			height: 14px;
		}
		.public_goBack_container span{
			color: #666;
			font-size: 15px;
			padding-left: 5px;
		}
		/*公共头部返回 end*/
	</style>
</head>
<body>
	
	<div class="portrait_page_container">
		<!-- 公共头部返回 -->
		<div class="public_goBack_container">
			<div class="public_goBack_container">
				<a href="javascript:history.back(-1)">
					<svg fill="#666" t="1611110116708" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3131" width="15" height="15"><path d="M731.648 913.408L326.144 512 727.04 107.52c20.992-21.504 20.992-55.296-0.512-76.288-10.752-10.24-24.576-15.872-38.4-15.872S660.48 20.48 650.24 31.232L210.944 474.624c-20.992 21.504-20.48 55.296 0.512 76.288 1.536 1.536 3.072 2.56 4.608 4.096l439.296 435.2c21.504 20.992 55.808 20.992 76.288-0.512 20.992-20.992 20.992-54.784 0-76.288z" p-id="3132"></path></svg>
					<span>线索详情</span>
				</a>
				
			</div>
		</div>
		<div class="portrait_header_container">
			<div class="portrait_header_content">
				<div class="portrait_headerInfo_container">
					<!-- <img src="{$et->avatar}"> -->
					<div class="portrait_headerInfo_content">
						<div class="portrait_headerInfoTop_container">
							<h3>{$clue->mobile_phone}</h3>
							<span>{$clue->remark}</span>
						</div>
						<div class="portrait_headerInfoBottom_container">
							<!-- <div class="portrait_headerInfoBottom_Sex_container">
							{if $et->gender == 2} -->
								<!-- 女 -->
								<!-- <svg fill="#ff9696" t="1597657593140" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2762" width="40" height="40"><path d="M571.530431 277.891766c-94.333282 0-171.026713 76.624794-171.026713 171.030325 0 94.264644 76.624794 171.030325 171.026713 171.030326 94.264644 0 171.030325-76.765681 171.030325-171.030326 0-94.333282-76.765681-171.030325-171.030325-171.030325z" p-id="2763"></path><path d="M773.888379 33.343399h-523.812883c-119.66415 0-216.714034 97.013759-216.714034 216.750159v523.812884c0 119.66415 97.049884 216.750159 216.714034 216.750159h523.812883c119.7364 0 216.750159-97.086009 216.750159-216.750159v-523.812884c0-119.7364-97.017371-216.750159-216.750159-216.750159z m-202.357948 659.567121c-60.112044 0-115.148522-21.942341-157.761603-58.139618l-35.138813 35.138814 57.644705 57.716954-51.575701 51.507063L327.054315 721.416778l-66.816849 66.889099-51.647951-51.5757 66.816849-66.816849-61.033232-61.10187 51.64795-51.507062 60.960982 61.033232 38.805504-38.736866c-24.131518-37.887928-38.310591-82.693798-38.310591-130.671446 0-134.623524 109.433543-243.984816 243.984817-243.984816s244.057066 109.361293 244.057066 243.984816c-0.003613 134.475411-109.437155 243.981204-243.988429 243.981204z" p-id="2764"></path></svg>
							{else} -->
								<!-- 男 -->
								<!-- <svg fill="#75ddff" t="1597657598618" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2896" width="40" height="40"><path d="M560.931348 402.638707c-89.22159 0-161.858181 72.604078-161.858181 161.789544 0 89.254103 72.636591 161.858181 161.858181 161.858181 89.254103 0 161.822056-72.604078 161.822056-161.858181 0-89.257715-72.567953-161.789543-161.822056-161.789544z" p-id="2897"></path><path d="M773.906442 33.343399h-523.812884c-119.700275 0-216.750159 97.013759-216.750159 216.750159v523.812884c0 119.66415 97.049884 216.750159 216.750159 216.750159h523.812884c119.700275 0 216.750159-97.086009 216.750159-216.750159v-523.812884c0-119.7364-97.049884-216.750159-216.750159-216.750159z m-212.902844 769.491964c-131.520384 0-238.5191-106.893953-238.519099-238.410725 0-52.565526 17.181063-100.969449 46.037733-140.338502L301.246596 356.774374v86.927651H224.657927V221.023749h223.523601v76.624794H350.564482l72.495703 72.531828c39.018641-27.798208 86.537501-44.310957 137.939801-44.310957 131.412009 0 238.410725 107.034841 238.410725 238.555224 0.003613 131.516771-106.995103 238.410725-238.407113 238.410725z" p-id="2898"></path></svg>
							{/if}
							</div> -->
						</div>
					</div>
				</div>

				<div class="portrait_headerDetail_container">
					<input type="hidden" name="clue_id" id="clue_id" value="{$clue->id}">
					<ul class="portrait_headerDetail_content">
						<li>
							<div class="portrait_headerDetailEdit_contents" data-name="客户阶段" data-id="{$clue->id}" data-classa="来源">
								<b class="editDetail">线索等级：</b>
								<select name="level_id" id="level_id">
									<option value="0"></option>
									{loop $culeLevels as $level}
									<option value="{$level['id']}" {if $level['id'] == $clue->level_id}selected{/if}>{$level['name']}</option>
									{/loop}
								</select>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!-- 动态 -->
		<div class="portrait_track_container">
			<ul class="portrait_trackNav_container">
				<li class="portrait_trackNav_active">
					动态
				</li>
			</ul>
			<div class="portrait_track_content">
				<!--<div class="portrait_trackScreen_contaienr">
					<input id="ScreenConditions" type="text" name="" value="" placeholder="筛选条件">
					<svg t="1597743285139" fill="#c5c5c5" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3412" width="10" height="10"><path d="M513 767.9c-9.1 0-18.2-3.5-25.1-10.4L108.4 378c-13.9-13.9-13.9-36.4 0-50.3 13.9-13.9 36.4-13.9 50.3 0L513 682l354.3-354.3c13.9-13.9 36.4-13.9 50.3 0 13.9 13.9 13.9 36.4 0 50.3L538.1 757.5c-6.9 6.9-16 10.4-25.1 10.4z" p-id="3413"></path></svg>
				</div>-->
				<ul class="portrait_track_List">
				{loop $dynamics as $k=>$dynamic}
					{if $dynamic['type'] == 1}
						<li>
							<div class="portrait_trackListDate_container">
								<p>{date('m-d',$dynamic['ctime'])}</p>
								<div class="portrait_trackListDate_right_container">
									
								</div>
							</div>
							<div class="portrait_trackListTime_container">
								<p>{date('H:i',$dynamic['ctime'])}</p>
								<div class="portrait_trackListTime_right_container">
									<div class="portrait_trackListTime_rightTop_container">
										<svg t="1597678326497" fill="#b5b9c2" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1169" width="18" height="18"><path d="M301.4 643.5L98 440.2v-0.1l54.1-54.1c16.5-16.5 41.2-21.4 62.7-12.5l136.9 56.7h0.1L616 226.5v-0.1l-70.7-70.7v-0.1l40.6-40.6c22.5-22.5 58.9-22.5 81.4 0l40.6 40.6 0.2-0.2 162.6 162.7-0.2 0.2 40.6 40.6c22.5 22.5 22.5 58.9 0 81.4l-40.6 40.6h-0.1l-70.8-70.7h-0.1L595.8 674.3v0.1l56.7 137c8.9 21.5 4 46.2-12.5 62.7l-54.1 54.1h-0.1L382.7 724.9h-0.1l-203 203H98.2v-81.3l203.1-203.1h0.1z" p-id="1170"></path></svg>
										<span>添加跟进</span>
									</div>
									<div class="portrait_trackListTime_rightbottom_container">
										{if $dynamic['user_id']}<img src="{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['avatar']}">{/if}
										<span>{$dynamic['user_id']?$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['name']:'管理账户'} 添加跟进</span>
										<span>{$dynamic['content']}</span>
									</div>
								</div>
							</div>
						</li>
					{else if $dynamic['type'] == 2}
						<li>
							<div class="portrait_trackListDate_container">
								<p>{date('m-d',$dynamic['ctime'])}</p>
								<div class="portrait_trackListDate_right_container">
									
								</div>
							</div>
							<div class="portrait_trackListTime_container">
								<p>{date('H:i',$dynamic['ctime'])}</p>
								<div class="portrait_trackListTime_right_container">
									<div class="portrait_trackListTime_rightTop_container">
										<svg t="1597678326497" fill="#b5b9c2" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1169" width="18" height="18"><path d="M301.4 643.5L98 440.2v-0.1l54.1-54.1c16.5-16.5 41.2-21.4 62.7-12.5l136.9 56.7h0.1L616 226.5v-0.1l-70.7-70.7v-0.1l40.6-40.6c22.5-22.5 58.9-22.5 81.4 0l40.6 40.6 0.2-0.2 162.6 162.7-0.2 0.2 40.6 40.6c22.5 22.5 22.5 58.9 0 81.4l-40.6 40.6h-0.1l-70.8-70.7h-0.1L595.8 674.3v0.1l56.7 137c8.9 21.5 4 46.2-12.5 62.7l-54.1 54.1h-0.1L382.7 724.9h-0.1l-203 203H98.2v-81.3l203.1-203.1h0.1z" p-id="1170"></path></svg>
										<span>移至公海</span>
									</div>
									<div class="portrait_trackListTime_rightbottom_container">
										{if $dynamic['user_id']}<img src="{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['avatar']}">{/if}
										<span>{$dynamic['user_id']?$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['name']:'管理账户'} 移至公海</span>
										<span>{$h->get_mobcule_sea_by_id($dynamic['correlation_id'])['name']}</span>
									</div>
								</div>
							</div>
						</li>
					{else if $dynamic['type'] == 3}
						<li>
							<div class="portrait_trackListDate_container">
								<p>{date('m-d',$dynamic['ctime'])}</p>
								<div class="portrait_trackListDate_right_container">
									
								</div>
							</div>
							<div class="portrait_trackListTime_container">
								<p>{date('H:i',$dynamic['ctime'])}</p>
								<div class="portrait_trackListTime_right_container">
									<div class="portrait_trackListTime_rightTop_container">
										<svg t="1597678326497" fill="#b5b9c2" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1169" width="18" height="18"><path d="M301.4 643.5L98 440.2v-0.1l54.1-54.1c16.5-16.5 41.2-21.4 62.7-12.5l136.9 56.7h0.1L616 226.5v-0.1l-70.7-70.7v-0.1l40.6-40.6c22.5-22.5 58.9-22.5 81.4 0l40.6 40.6 0.2-0.2 162.6 162.7-0.2 0.2 40.6 40.6c22.5 22.5 22.5 58.9 0 81.4l-40.6 40.6h-0.1l-70.8-70.7h-0.1L595.8 674.3v0.1l56.7 137c8.9 21.5 4 46.2-12.5 62.7l-54.1 54.1h-0.1L382.7 724.9h-0.1l-203 203H98.2v-81.3l203.1-203.1h0.1z" p-id="1170"></path></svg>
										<span>领取线索</span>
									</div>
									<div class="portrait_trackListTime_rightbottom_container">
										<img src="{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['avatar']}">
										<span>{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['name']}</span>
										<span>从{$h->get_mobcule_sea_by_id($dynamic['correlation_id'])['name']}领取此线索</span>
									</div>
								</div>
							</div>
						</li>
					{else if $dynamic['type'] == 5}
						<li>
							<div class="portrait_trackListDate_container">
								<p>{date('m-d',$dynamic['ctime'])}</p>
								<div class="portrait_trackListDate_right_container">
									
								</div>
							</div>
							<div class="portrait_trackListTime_container">
								<p>{date('H:i',$dynamic['ctime'])}</p>
								<div class="portrait_trackListTime_right_container">
									<div class="portrait_trackListTime_rightTop_container">
										<svg t="1597678326497" fill="#b5b9c2" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1169" width="18" height="18"><path d="M301.4 643.5L98 440.2v-0.1l54.1-54.1c16.5-16.5 41.2-21.4 62.7-12.5l136.9 56.7h0.1L616 226.5v-0.1l-70.7-70.7v-0.1l40.6-40.6c22.5-22.5 58.9-22.5 81.4 0l40.6 40.6 0.2-0.2 162.6 162.7-0.2 0.2 40.6 40.6c22.5 22.5 22.5 58.9 0 81.4l-40.6 40.6h-0.1l-70.8-70.7h-0.1L595.8 674.3v0.1l56.7 137c8.9 21.5 4 46.2-12.5 62.7l-54.1 54.1h-0.1L382.7 724.9h-0.1l-203 203H98.2v-81.3l203.1-203.1h0.1z" p-id="1170"></path></svg>
										<span>分配线索</span>
									</div>
									<div class="portrait_trackListTime_rightbottom_container">
										<span>管理账户 分配线索给</span>
										<img src="{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['avatar']}">
										<span>{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['name']}</span>
									</div>
								</div>
							</div>
						</li>
					{else if $dynamic['type'] == 6}
						<li>
							<div class="portrait_trackListDate_container">
								<p>{date('m-d',$dynamic['ctime'])}</p>
								<div class="portrait_trackListDate_right_container">
									
								</div>
							</div>
							<div class="portrait_trackListTime_container">
								<p>{date('H:i',$dynamic['ctime'])}</p>
								<div class="portrait_trackListTime_right_container">
									<div class="portrait_trackListTime_rightTop_container">
										<svg t="1597678326497" fill="#b5b9c2" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1169" width="18" height="18"><path d="M301.4 643.5L98 440.2v-0.1l54.1-54.1c16.5-16.5 41.2-21.4 62.7-12.5l136.9 56.7h0.1L616 226.5v-0.1l-70.7-70.7v-0.1l40.6-40.6c22.5-22.5 58.9-22.5 81.4 0l40.6 40.6 0.2-0.2 162.6 162.7-0.2 0.2 40.6 40.6c22.5 22.5 22.5 58.9 0 81.4l-40.6 40.6h-0.1l-70.8-70.7h-0.1L595.8 674.3v0.1l56.7 137c8.9 21.5 4 46.2-12.5 62.7l-54.1 54.1h-0.1L382.7 724.9h-0.1l-203 203H98.2v-81.3l203.1-203.1h0.1z" p-id="1170"></path></svg>
										<span>等级修改</span>
									</div>
									<div class="portrait_trackListTime_rightbottom_container">
										<img src="{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['avatar']}">
										<span>{$h->get_user_by_id($dynamic['wid'],$dynamic['user_id'])['name']}</span>
										<span>将线索等级修改为【{$culeLevelsArr[$dynamic['correlation_id']]}】</span>
									</div>
								</div>
							</div>
						</li>
					{/if}
				{/loop}
				</ul>
			</div>
		</div>
	</div>
	
	<!-- 底部导航 -->
	<div class="footer_nav_container">
	  <ul class="footer_nav_content">
	    <li>
	      <a id="moveSea">
	       <svg fill="#5a5a5a" t="1610955006685" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9418" width="68" height="68"><path d="M527.526625 892.214535c-150.211117 0-309.860187-52.075029-309.860187-148.604526 0-66.272379 78.408791-119.559003 202.619744-139.922796-54.135968-45.802162-88.074941-121.317043-88.074941-199.346187 0-195.073884 106.210997-236.013295 195.316407-236.013295S722.843032 209.266118 722.843032 404.340001c0 78.029144-33.923624 153.544025-88.044242 199.346187 124.210953 20.363793 202.619744 73.650417 202.619744 139.922796C837.417511 840.138482 677.752068 892.214535 527.526625 892.214535zM527.526625 230.387158c-57.212026 0-133.255956 18.029632-133.255956 173.952844 0 65.847707 32.166607 131.104967 80.029708 162.392554 8.772804 5.727445 14.060227 15.500019 14.060227 25.969465l0 37.257555c0 15.833617-11.924587 29.121248-27.650757 30.848589-123.468033 13.499455-180.982958 57.393151-180.982958 82.801844 0 35.287691 96.529497 86.545098 247.800759 86.545098 151.286612 0 247.830435-51.257407 247.830435-86.545098 0-25.408693-57.514925-69.302389-180.982958-82.801844-15.727193-1.727341-27.650757-15.014972-27.650757-30.848589l0-37.257555c0-10.469446 5.287423-20.24202 14.060227-25.969465 47.847751-31.287587 79.999009-96.544847 79.999009-162.392554C660.782581 248.417813 584.737628 230.387158 527.526625 230.387158z" p-id="9419"></path><path d="M957.007213 704.700837c-17.136286 0-31.029714-13.893428-31.029714-31.029714 0-25.408693-57.529251-69.317739-181.013657-82.817194-15.727193-1.727341-27.650757-15.014972-27.650757-30.848589l0-37.242206c0-10.484795 5.287423-20.24202 14.060227-25.984814 47.863101-31.256888 80.029708-96.544847 80.029708-162.42223 0-155.907862-76.044954-173.937494-133.255956-173.937494-17.136286 0-31.029714-13.893428-31.029714-31.029714s13.893428-31.029714 31.029714-31.029714c89.105411 0 195.316407 40.939411 195.316407 235.997945 0 78.059843-33.923624 153.589051-88.059592 199.392236 124.226303 20.348444 202.63407 73.650417 202.63407 139.922796C988.036927 690.807409 974.143499 704.700837 957.007213 704.700837z" p-id="9420"></path><path d="M98.075713 704.700837c-17.136286 0-31.029714-13.893428-31.029714-31.029714 0-66.272379 78.408791-119.574353 202.604394-139.922796-54.105269-45.802162-88.014566-121.332393-88.014566-199.392236 0-195.058534 106.195647-235.997945 195.285708-235.997945 17.136286 0 31.029714 13.893428 31.029714 31.029714s-13.893428 31.029714-31.029714 31.029714c-57.196677 0-133.226281 18.029632-133.226281 173.937494 0 65.893756 32.151257 131.165342 79.983659 162.437579 8.772804 5.727445 14.060227 15.500019 14.060227 25.969465l0 37.242206c0 15.833617-11.924587 29.121248-27.650757 30.848589-123.468033 13.499455-180.982958 57.408501-180.982958 82.817194C129.10645 690.807409 115.211998 704.700837 98.075713 704.700837z" p-id="9421"></path></svg>
	        <span>移至公海</span>
	      </a>
	    </li>
	    <li>
	      <a id="addFollow">
	        <svg fill="#5a5a5a" t="1610954953022" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7547" width="68" height="68"><path d="M153.317874 943.149601c-17.451464 0-31.600719-14.149255-31.600719-31.600719 0-84.803431 106.327654-152.833851 273.388531-176.781262l0-4.582365c-75.391061-57.075927-123.285884-158.326958-123.285884-263.204587 0-248.12924 134.25675-300.205293 246.879784-300.205293s246.879784 52.076052 246.879784 300.205293c0 17.451464-14.149255 31.600719-31.600719 31.600719-17.451464 0-31.600719-14.149255-31.600719-31.600719 0-212.440413-104.83158-237.004879-183.678346-237.004879S335.02124 254.540254 335.02124 466.979644c0 89.215928 43.790342 177.768753 108.98211 220.386386 8.918114 5.832845 14.303774 15.784498 14.303774 26.447349l0 48.804543c0 16.124236-12.128225 29.656437-28.15934 31.4155-153.496953 16.819061-245.229191 72.952522-245.229191 117.514437C184.918593 929.000346 170.769338 943.149601 153.317874 943.149601z" p-id="7548"></path><path d="M884.08232 943.149601c-17.451464 0-31.600719-14.149255-31.600719-31.600719 0-44.561915-91.731214-100.6964-245.228167-117.514437-16.032138-1.759063-28.15934-15.291265-28.15934-31.4155l0-48.804543c0-17.451464 14.149255-31.600719 31.600719-31.600719s31.600719 14.149255 31.600719 31.600719l0 20.954241c167.060877 23.947412 273.388531 91.977831 273.388531 176.781262C915.683039 929.000346 901.533784 943.149601 884.08232 943.149601z" p-id="7549"></path><path d="M901.765051 584.633251c-17.451464 0-31.600719-14.149255-31.600719-31.600719L870.164333 439.452707l-39.269375-9.813506c-14.057157-3.518127-23.932062-16.154935-23.932062-30.659277 0-159.006434-129.349997-288.355407-288.355407-288.355407S230.252081 239.974513 230.252081 398.979924c0 9.397021-4.181229 18.315134-11.418051 24.317848l-23.468504 19.487843 0 110.246917c0 17.451464-14.149255 31.600719-31.600719 31.600719s-31.600719-14.149255-31.600719-31.600719L132.164089 427.942559c0-9.397021 4.181229-18.315134 11.418051-24.317848l23.792892-19.750833C175.321004 197.017142 329.821821 47.423079 518.607488 47.423079c185.483458 0 337.885474 144.378272 350.693174 326.667991l40.133046 10.029424c14.057157 3.518127 23.932062 16.154935 23.932062 30.659277l0 138.252761C933.36577 570.483996 919.216515 584.633251 901.765051 584.633251z" p-id="7550"></path><path d="M556.025703 636.447337c-17.451464 0-31.600719-14.149255-31.600719-31.600719 0-17.451464 14.149255-31.600719 31.600719-31.600719 176.781262 0 229.674936-43.327808 235.152694-60.038398l30.829146 6.711865 31.322379 4.13518C850.861708 542.817889 824.892243 636.447337 556.025703 636.447337z" p-id="7551"></path></svg>
	        <span>添加跟进</span>
	      </a>
	    </li>
	    <li>
	      <a id="removeClue">
	        <svg fill="#5a5a5a" t="1610955064456" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10309" width="68" height="68"><path d="M736.38 960.15H287.19c-53.12 0-96.23-43.02-96.23-96.08V383.53c0-19.03 15.03-32.05 32.07-32.05 17.05 0 32.08 13.02 32.08 32.05v480.54c0 16.98 15.06 32.01 32.07 32.01h449.19c17.04 0 32.1-15.03 32.1-32.01V384.52c0-42.06 64.16-42.06 64.16 0v479.55c0.01 53.06-43.1 96.08-96.25 96.08M319.3 159.25c0-17.01 15.03-32.05 32.07-32.05h321.85c17.04 0 31.08 13.02 31.08 32.05v64.1h-385v-64.1m609.6 64.1H768.49v-64.1c0-53.06-43.14-96.08-95.26-96.08H351.37c-53.15 0-96.25 43.02-96.25 96.08v64.1H94.7c-41.12 0-41.12 64.04 0 64.04h834.2c41.1 0 41.1-64.04 0-64.04M383.45 735.9V403.53c0-41.07 64.19-41.07 64.19 0V735.9c-0.01 41.07-64.19 41.07-64.19 0m192.52 0V403.53c0-41.07 64.15-41.07 64.15 0V735.9c0 41.07-64.15 41.07-64.15 0" p-id="10310"></path><path d="M191.31 270.54h63.74v114.1h-63.74zM768.5 272.25h63.74v114.1H768.5z" p-id="10311"></path></svg>
	        <span>删除线索</span>
	      </a>
	    </li>
	  </ul>
	</div>
	<style type="text/css">
		
	</style>
	<!-- 弹窗 添加公海 -->
	<div class="public_dialog_container" style="display: none;">
		<div class="public_dialog_content">
			<h3>移至公海</h3>
			<div class="public_dialogSelect_container">
				<span>选择公海：</span>
				<div class="public_dialogSelect_content">
					<select id="publicDialogSelect">
						<option value="">请选择公海</option>
						{loop $seas as $sea}
						<option value="{$sea->id}">{$sea->name}</option>
						{/loop}
					</select>
				</div>
				
			</div>
			<div class="public_dialogButton_container">
				<span id="closePublicDialog">取消</span>
				<span id="confirmPublicDialog">确定</span>
			</div>
		</div>
	</div>
	<script src="/cdn/jquery.min.10.js"></script>
	<script src="/cdn/jquery-weui.min.js"></script>
	<script src="/layui/layui.js"></script>
	<script src="/js/ajax.js"></script>
	<!-- 适配 -->
	<script type="text/javascript">
		window.onload=function(){
			var u = navigator.userAgent;
			    if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {
			        //安卓手机
			    } else if (u.indexOf('iPhone') > -1) {
			        //苹果手机
			        // $(".portrait_page_container").css('height','calc(100% - 108px)');
			        // $(".footer_nav_container").css('padding-bottom','50px');
			    }
		}
	</script>
	<!-- 点击底部菜单 -->
	<script type="text/javascript">
		// 移动公海
		// 关闭自定义的弹窗 只有移动公海用的是这个弹窗  这个弹出框自己写的 后面两个是框架带的
		function closePublicDialogFun(){
			$('.public_dialog_container').hide();
		}
		// 取消
		$('#closePublicDialog').click(function(){
			closePublicDialogFun();
		})
		// 确定
		$('#confirmPublicDialog').click(function(){
			// 这个弹出框自己写的 后面两个是框架带的
			// console.log($('#publicDialogSelect option:selected').text());
			let sea_id = $("#publicDialogSelect").val();
			let id = $("#clue_id").val();
			if(!sea_id){
				tusi('请选择公海');
				return;
			}
			myAjaxPost(false, true, 'mobile_clue_detail.html?id='+id, { type:1,sea_id:sea_id}, function (resp) {
		    	if(resp.status == "success"){
		    		tusi(resp.msg);
		    	}else{
		    		tusi(resp.msg);
		    	}
		    })
		    closePublicDialogFun();
		})
		$('#moveSea').click(function(){
			// 这个弹出框自己写的 后面两个是框架带的
			$('.public_dialog_container').show();
		})
		// 添加跟进
		$('#addFollow').click(function(){
			$.prompt({
			  title: '添加跟进',
			  text: '请填写跟进记录',
			  input: '',
			  empty: true, // 是否允许为空
			  onOK: function (input) {
			    //点击确认
			    if(input == ""){
			    	tusi("跟进记录不能为空");
			    }else{
			    	let id = $("#clue_id").val();
					myAjaxPost(false, true, 'mobile_clue_detail.html?id='+id, { type:2,input:input}, function (resp) {
				    	if(resp.status == "success"){
				    		tusi(resp.msg);
				    		location.reload();
				    	}else{
				    		tusi(resp.msg);
				    	}
				    })
			    }
			  },
			  onCancel: function () {
			    //点击取消
			    console.log('取消')
			  }
			});
		})
		// 添加
		$('#removeClue').click(function(){
			$.confirm({
			  title: '提示',
			  text: '确定要删除该线索吗？',
			  onOK: function () {
			    //确认删除
			    let id = $("#clue_id").val();
				myAjaxPost(false, true, 'mobile_clue_detail.html?id='+id, { type:3}, function (resp) {
			    	if(resp.status == "success"){
			    		tusi(resp.msg);
			    	}else{
			    		tusi(resp.msg);
			    	}
			    })
			  },
			  onCancel: function () {
			  	//取消
			  	console.log('取消')
			  }
			});
		})
	</script>
	<!-- jquery weui 文档地址https://jqweui.cn/extends#select -->
	<script type="text/javascript">
		// 修改信息
		$('.portrait_headerDetailEdit_content').click(function(e){
			let t = this;
			var name = $(t).data('name');
			var id = $(t).data('id');
			var classa = $(t).data('classa');
			if(classa){
				var one = classa;
			}else{
				var one = name;
			}
			$.prompt({
				title: '提示',
				text: '请输入' + one,
				input: '',
			  empty: false, // 是否允许为空
			  onOK: function (input) {
			    //点击确认
			    myAjaxPost(false, true, 'upload_user.html', { name:name,input:input,id:id}, function (resp) {
			    	if(resp.status == "success"){
			    		tusi(resp.msg);
			    		$(t).find('b').text(resp.data);
			    	}else{
			    		tusi(resp.msg);
			    	}
			    })
			},
			onCancel: function () {
			    //点击取消
			}
		});
		})
		$(document).on("change","[name='level_id']",function(){
			var level_id = $('#level_id').val();
			var id = $('#clue_id').val();
			// console.log(id);return;
			myAjaxPost(false, true, 'mobile_clue_detail.html?id='+id, !{type:4,level_id:level_id}, function (resp) {
		    	if(resp.status == "success"){
		    		tusi(resp.msg);
		    	}else{
		    		tusi(resp.msg);
		    	}
		    })
		})
		
	</script>
</body>
</html>